package com.guigu.eduservice;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Author: janecraft
 * @Date: 2022/5/31
 * @Description: com.guigu.eduservice
 * @Version： 1.0
 */
@SpringBootApplication
@EnableDiscoveryClient // 启用服务发现
@EnableFeignClients // openfeign调用
@ComponentScan("com.guigu")
public class EduApplication {
    public static void main(String[] args) {
        SpringApplication.run(EduApplication.class, args);
    }
}
